package com.quanxiaoha.xiaohashu.gateway.enums;

import com.quanxiaoha.framework.common.exception.BaseExceptionInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
 * @author 1192299468@qq.com
 * @version 1.0
 * @date 2025/3/3 21:10
 * @description: TODO
 */
@Getter
@AllArgsConstructor
public enum ResponseCodeEnum {
    // ----------- 通用异常状态码 -----------
    SYSTEM_ERROR("500", "系统繁忙，请稍后再试"),
    UNAUTHORIZED("401", "权限不足"),


    // ----------- 业务异常状态码 -----------
    ;

    // 异常码
    private final String errorCode;
    // 错误信息
    private final String errorMessage;

}
